﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace MrDev.GameObjects
{
    class Boss : GameObject
    {
        public List<BossLifeText> lifeTexts = new List<BossLifeText>();
        protected bool initialized;

        public Boss(Level level)
            : base(level)
        {
        }

        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);

        }

        public virtual void Hit()
        {
        }

        public virtual void Initialize()
        {
        }




        public virtual void UnInitialize()
        {
            initialized = false;
        }

        protected void DrawLifeText(GameTime gameTime, SpriteBatch spriteBatch)
        {
            foreach (BossLifeText lifeText in lifeTexts)
            {
                PlatformerGame.DrawShadowedString(spriteBatch, lifeText.Text, lifeText.Position, Color.Yellow);
            }
        }


    }

    class BossLifeText
    {
        public string Text;
        public float distance;
        public float Progress;
        public Vector2 Position;
    }

}
